package cn.edu.imnu.service;

import common.model.DataBootstrapTable;
import common.model.ResponseModelBootstrapTable;
import cn.edu.imnu.model.WordProperty;

/**
 * Created with IntelliJ IDEA.
 *
 * @author ranhongmin--2018/3/3
 * Description:词条属性接口
 */
public interface WordPropertyService {

	/**
	 * 后台祝查询
	 *
	 * @param dataBootstrapTable
	 * @return
	 */
	ResponseModelBootstrapTable main(DataBootstrapTable dataBootstrapTable);

	/**
	 * 后台动作
	 *
	 * @param property
	 * @param action
	 * @return
	 */
	ResponseModelBootstrapTable doAction(WordProperty property, String action);

	/**
	 * 根据词条id获取属性
	 *
	 * @param wordId
	 * @return
	 */
	ResponseModelBootstrapTable getPropertyByWordId(String wordId);

}
